import request from '@/utils/request'

// 查询优惠券信息列表
export function getDiscountCouponInfoList(params) {
  return request({
    url: '/admin/DiscountCoupon/getDiscountCouponInfoList',
    method: 'get',
    params
  })
}

// 异步查询优惠券活动信息
export function getDiscountCouponActivityInfo(params) {
  return request({
    url: '/admin/DiscountCoupon/getDiscountCouponActivityInfo',
    method: 'get',
    params
  })
}

// 异步查询优惠券使用商品
export function getDiscountCouponCommodity(params) {
  return request({
    url: '/admin/DiscountCoupon/getDiscountCouponCommodity',
    method: 'get',
    params
  })
}
